﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="ServiceName.aspx.cs" Inherits="ServiceName" %>

<asp:Content ID="Content1" ContentPlaceHolderID="BodyContent" runat="Server">
    <div class="contentfull">
        <div class="breadcrumbs">
            <ul id="crumbs">
                <li><a title="My Account" href="/account/">My Account</a>
                    <img src=Content/Images/separator.png alt="&rarr;" class="separator">Buttons</li>
            </ul>
        </div>

        <div id="showMessages"></div>


        <div class="top">
            <div class="innerleft">
                <h1>Edit Button &#8220;<%= DisplayServiceName.ToString() %>&#8221; - Step 2</h1>
            </div>
            <ol id="wizard-menu" class="group">
                <li title="Select service type" style="width: 16.50%; float: left">
                    <a href="ServiceType.aspx?ServiceId=<%= ServiceId.ToString() %>" style="width: 100%" class="wizard-step w-before group red" id="step1">
                        <img src="Images/scan48.png" alt="Type">
                        <span class="mobile_disabled">Type</span>
                    </a>
                </li>
                <li title="Name this service." style="width: 16.50%; float: left">
                    <a href="ServiceName.aspx?ServiceId=<%= ServiceId.ToString() %>" style="width: 100%" class="wizard-step w-active group green" id="step2">
                        <img src="Images/service48.png" alt="Name">
                        <span class="mobile_disabled">Name</span>
                    </a>
                </li>
                <li title="Authorize users for this service." style="width: 16.50%; float: left">
                    <a href="ServiceUsers.aspx?ServiceId=<%= ServiceId.ToString() %>" style="width: 100%" class="wizard-step w-after group orange" id="step3">
                        <img src="Images/user48.png" alt="Users">
                        <span class="mobile_disabled">Users</span>
                    </a>
                </li>
                <li title="Ask questions alongside each scan made by this service." style="width: 16.50%; float: left">
                    <a href="ServiceQuestions.aspx?ServiceId=<%= ServiceId.ToString() %>" style="width: 100%" class="wizard-step w-after group gold" id="step4">
                        <img src="Images/question48.png" alt="Questions">
                        <span class="mobile_disabled">Questions</span>
                    </a>
                </li>
                <li title="Modify advanced settings" style="width: 16.50%; float: left">
                    <a href="ServiceAdvanced.aspx?ServiceId=<%= ServiceId.ToString() %>" style="width: 100%" class="wizard-step w-after group blue" id="step5">
                        <img src="Images/optional48.png" alt="Advanced">
                        <span class="mobile_disabled">Advanced</span>
                    </a>
                </li>
                <li title="Done" style="width: 16.50%; float: left">
                    <a href="ServiceDone.aspx?ServiceId=<%= ServiceId.ToString() %>" style="width: 100%" class="wizard-step w-after group purple" id="review">
                        <img src="Images/confirm48.png" alt="Done">
                        <span class="mobile_disabled">Done</span>
                    </a>
                </li>
            </ol>
        </div>
        <div class="content">
            <form method="post" action="ServiceUsers.aspx?ServiceId=<%= ServiceId.ToString() %>">
                <div class="wizard-nav">
                    <input type="submit" name="login" value="Save and Continue" class="black_button blarge next" />
                </div>
                <h2 class="large left">Name Your Button</h2>
                <p class="lower_comment same left">Provide a name to identify the button to your users.</p>
                <input type="hidden" name="action" value="editName" />
                <input type="hidden" name="serviceid" value="<%= SrvDetails.ServiceId.ToString() %>">
                <br />
                <fieldset>
                    <label for="name">Name</label>
                    <input type="text" name="name" id="name" value="<%= SrvDetails.ServiceName %>" class="inputed full" /><br />
                    <label for="description">Describe Your Button</label>
                    <span class="lower_comment same">Provides instructions to users after the button is selected.</span>
                    <textarea name="description" style="height: 200px; margin-bottom: 1em;" id="description" class="full"><%=SrvDetails.ServiceDescription %></textarea>
                    <input type="submit" name="login" value="Save and Continue" class="black_button blarge right" />

                </fieldset>
            </form>
        </div>
    </div>
    <!-- /.contentfull -->
</asp:Content>

